import pygame
import spyral

import Dic


class Arrow(spyral.sprite.Sprite):
    def __init__(self, bird):
        spyral.sprite.Sprite.__init__(self)
        self.image = spyral.util.load_image(Dic.images['arrow']);
        self.layer = 1;
        self.bird = bird;
        self.pos = (self.bird.pos[0], 10)
        
    def update(self, tick):
        self.pos = (self.bird.pos[0], 10)